use crate::{config::AppContext, domain::setting::Setting};
pub async fn get() -> Setting {
    let settings = Setting::select_all(AppContext::rbatis()).await;
    let vec = &settings.ok().unwrap();
    let setting = vec.first().unwrap().to_owned();
    return setting;
}
